//
//  BRBrandCollectionViewCell.m
//  BrezzeSaaS
//
//  Created by IOS on 2021/11/1.
//  Copyright © 2021 Brezze GWG. All rights reserved.
//

#import "BRBrandCollectionViewCell.h"

@implementation BRBrandCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.nameL.font = [UIFont br_fontM:10];
    self.nameL.textColor = UIColor.qd_titleTextColor;
}

- (void)setDto:(BRTenantModel *)dto {
    _dto = dto;
    self.nameL.text = dto.title;
    NSString *url = [NSString stringWithFormat:@"%@%@",USERManager.filesSever,dto.logo];
    [self.brandImg sd_setImageWithURL:[NSURL URLWithString:url] placeholderImage:UIImageMake(kDefaultSqureImg)];
}

@end
